<div class="menu">
	<div align="right" style="font-weight:bold; font-size:12px; padding-bottom:8px; color:#10498A;">
		<?php echo $this->Access->getMyRole($this->Access->getMy('group_id')).": ".$this->Access->getMy('nombre_completo');?>
	</div>
	<div class="desplegable">
		<?php  $this->Form->new_menu($this->Access->getMy('id'),$this->Access->getMy('group_id'));?>
	</div>
</div>
<div class="seguimientos index">
	<h2><?php __('Seguimientos');?></h2>
	<table>
		<tr>
			<td class="actions_2"><?php echo $this->Html->link(__('Agregar Seguimiento', true), array('action' => 'add', $estudiante_id)); ?></td>
		</tr>
	</table>
	<table cellpadding="0" cellspacing="0">
	<tr>			
			<th><?php echo $this->Paginator->sort('tipo');?></th>
			<th><?php echo $this->Paginator->sort('estrategia');?></th>
			<th><?php echo $this->Paginator->sort('estado');?></th>
			<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
	$i = 0;
	foreach ($seguimientos as $seguimiento):
		$class = null;
		if ($i++ % 2 == 0) {
			$class = ' class="altrow"';
		}
	?>
	<tr<?php echo $class;?>>
		<td><?php echo $seguimiento['Seguimiento']['tipo']; ?>&nbsp;</td>
		<td><?php echo $seguimiento['Seguimiento']['estrategia']; ?>&nbsp;</td>
		<td><?php echo $seguimiento['Seguimiento']['estado']; ?>&nbsp;</td>
		<td class="actions">
			<?php echo $this->Html->link(__('Ver', true), array('action' => 'view', $seguimiento['Seguimiento']['id'])); ?>
			<?php echo $this->Html->link(__('Editar', true), array('action' => 'edit', $seguimiento['Seguimiento']['id'])); ?>
			<?php echo $this->Html->link(__('Eliminar', true), array('action' => 'delete', $seguimiento['Seguimiento']['id']), null, sprintf(__('Quiere eliminar el seguimiento: %s?', true), $seguimiento['Seguimiento']['tipo'])); ?>
		</td>
	</tr>
<?php endforeach; ?>
	</table>
	<p>
	<?php
	echo $this->Paginator->counter(array(
	'format' => __('Page %page% of %pages%, showing %current% records out of %count% total, starting on record %start%, ending on %end%', true)
	));
	?>	</p>

	<div class="paging">
		<?php echo $this->Paginator->prev('<< ' . __('previous', true), array(), null, array('class'=>'disabled'));?>
	 | 	<?php echo $this->Paginator->numbers();?>
 |
		<?php echo $this->Paginator->next(__('next', true) . ' >>', array(), null, array('class' => 'disabled'));?>
	</div>
</div>